﻿#ifndef PUSHBUTTON_H
#define PUSHBUTTON_H

#include "SheetGlobal.h"

#include <QPaintEvent>
#include <QPushButton>
#include <QRectF>
#include <QMouseEvent>

class SHEET_EXPORT UserManageButton : public QPushButton
{
	Q_OBJECT

public:
	UserManageButton(QWidget *parent);
	~UserManageButton();

	QRectF boundingRect() const;

public:
	virtual void paintEvent(QPaintEvent *);
	virtual void mousePressEvent(QMouseEvent *event);

signals:
	void showMenu();
};

#endif